﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Framework_Tool
{
    /// <summary>
    /// Interaction logic for StaffLoggedIn.xaml
    /// </summary>
    public partial class StaffLoggedIn : Page
    {
        private MainWindow main;

        public StaffLoggedIn()
        {
            InitializeComponent();
        }

        private void crsesPicBtn_Click_1(object sender, RoutedEventArgs e)
        {
            CourseView courseViewWindow = new CourseView();
            courseViewWindow.Content = null;
            mainContent.Children.Add(courseViewWindow.mainContent);
        }

        private void crsesBtn_Click_1(object sender, RoutedEventArgs e)
        {
            CourseView courseViewWindow = new CourseView();
            courseViewWindow.Content = null;
            mainContent.Children.Add(courseViewWindow.mainContent);
        }

        private void unitsPicBtn_Click_1(object sender, RoutedEventArgs e)
        {
            UnitView unitViewWindow = new UnitView();
            unitViewWindow.Content = null;
            mainContent.Children.Add(unitViewWindow.mainContent);
        }

        private void unitsBtn_Click_1(object sender, RoutedEventArgs e)
        {
            UnitView unitViewWindow = new UnitView();
            unitViewWindow.Content = null;
            mainContent.Children.Add(unitViewWindow.mainContent);
        }

        private void asmntsBtn_Click_1(object sender, RoutedEventArgs e)
        {
            AssessmentView asmntViewWindow = new AssessmentView();
            asmntViewWindow.Content = null;
            mainContent.Children.Add(asmntViewWindow.mainContent);
        }

        private void asmntsPicBtn_Click_1(object sender, RoutedEventArgs e)
        {
            AssessmentView asmntViewWindow = new AssessmentView();
            asmntViewWindow.Content = null;
            mainContent.Children.Add(asmntViewWindow.mainContent);
        }

        private void settingsPicBtn_Click_1(object sender, RoutedEventArgs e)
        {
            SettingsAdd settingsAddWindow = new SettingsAdd();
            settingsAddWindow.Content = null;
            mainContent.Children.Add(settingsAddWindow.mainContent);
        }

        private void settingsBtn_Click_1(object sender, RoutedEventArgs e)
        {
            SettingsAdd settingsAddWindow = new SettingsAdd();
            settingsAddWindow.Content = null;
            mainContent.Children.Add(settingsAddWindow.mainContent);
        }

        private void staffPicBtn_Click_1(object sender, RoutedEventArgs e)
        {
            StaffView stfViewWindow = new StaffView();
            stfViewWindow.Content = null;
            mainContent.Children.Add(stfViewWindow.mainContent);
        }
        
        private void stfBtn_Click_1(object sender, RoutedEventArgs e)
        {
            StaffView stfViewWindow = new StaffView();
            stfViewWindow.Content = null;
            mainContent.Children.Add(stfViewWindow.mainContent);
        }

        private void studentsPicBtn_Click_1(object sender, RoutedEventArgs e)
        {
            StudentView stdtViewWindow = new StudentView();
            stdtViewWindow.Content = null;
            mainContent.Children.Add(stdtViewWindow.mainContent);
        }
        
        private void stdtsBtn_Click_1(object sender, RoutedEventArgs e)
        {
            StudentView stdtViewWindow = new StudentView();
            stdtViewWindow.Content = null;
            mainContent.Children.Add(stdtViewWindow.mainContent);
            main.studentsBtn.FontWeight = FontWeights.ExtraBold;
        }
    }
}
